#include <pthread.h>
#include <stdio.h>
#include <unistd.h>
#include "thread_process.h"


void ThreadProcess::Process0(void* arg)
{
    printf("thread %d is starting process0 %s\n",(int)pthread_self(),(char*)arg);
    usleep(100*1000);
}
void ThreadProcess::Process1(void* arg)
{
    printf("thread %d is starting process1 %s\n",(int)pthread_self(),(char*)arg);
    usleep(100*1000);
}

void ThreadProcess::Process2(void* arg)
{
    printf("thread %d is starting process2 %s\n",(int)pthread_self(),(char*)arg);
    usleep(100*1000);
}
